home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1992-11-21 | 5.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs v18 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| gt2
| Kopftext: '(require (quote electric))
| default (weak)
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 0a 28 72 65 71 75 69 72 | 65 20 28 71 75 6f 74 65 |.(requir|e (quote|
|00000010| 20 65 6c 65 63 74 72 69 | 63 29 29 0a 0a 28 72 65 | electri|c))..(re|
|00000020| 71 75 69 72 65 20 28 71 | 75 6f 74 65 20 63 68 69 |quire (q|uote chi|
|00000030| 73 74 6f 72 79 29 29 0a | 0a 28 64 65 66 75 6e 20 |story)).|.(defun |
|00000040| 45 6c 65 63 74 72 69 63 | 2d 63 6f 6d 6d 61 6e 64 |Electric|-command|
|00000050| 2d 68 69 73 74 6f 72 79 | 2d 72 65 64 6f 2d 65 78 |-history|-redo-ex|
|00000060| 70 72 65 73 73 69 6f 6e | 20 28 26 6f 70 74 69 6f |pression| (&optio|
|00000070| 6e 61 6c 20 6e 6f 63 6f | 6e 66 69 72 6d 29 20 22 |nal noco|nfirm) "|
|00000080| 5c 0a 45 64 69 74 20 63 | 75 72 72 65 6e 74 20 68 |\.Edit c|urrent h|
|00000090| 69 73 74 6f 72 79 20 6c | 69 6e 65 20 69 6e 20 6d |istory l|ine in m|
|000000a0| 69 6e 69 62 75 66 66 65 | 72 20 61 6e 64 20 65 78 |inibuffe|r and ex|
|000000b0| 65 63 75 74 65 20 72 65 | 73 75 6c 74 2e 0a 57 69 |ecute re|sult..Wi|
|000000c0| 74 68 20 70 72 65 66 69 | 78 20 61 72 67 75 6d 65 |th prefi|x argume|
|000000d0| 6e 74 20 4e 4f 43 4f 4e | 46 49 52 4d 2c 20 65 78 |nt NOCON|FIRM, ex|
|000000e0| 65 63 75 74 65 20 63 75 | 72 72 65 6e 74 20 6c 69 |ecute cu|rrent li|
|000000f0| 6e 65 20 61 73 20 69 73 | 20 77 69 74 68 6f 75 74 |ne as is| without|
|00000100| 20 65 64 69 74 69 6e 67 | 2e 22 20 28 69 6e 74 65 | editing|." (inte|
|00000110| 72 61 63 74 69 76 65 20 | 22 50 22 29 20 28 62 79 |ractive |"P") (by|
|00000120| 74 65 2d 63 6f 64 65 20 | 22 c2 88 c2 18 8a c3 71 |te-code |"......q|
|00000130| 88 c4 20 88 c5 70 21 89 | 10 88 c6 c7 21 85 21 00 |.. ..p!.|....!.!.|
|00000140| 08 85 21 00 c8 c9 09 08 | 44 5c 22 29 29 87 22 20 |..!.....|D\"))." |
|00000150| 5b 74 6f 64 6f 20 6e 6f | 63 6f 6e 66 69 72 6d 20 |[todo no|confirm |
|00000160| 6e 69 6c 20 22 2a 43 6f | 6d 6d 61 6e 64 20 48 69 |nil "*Co|mmand Hi|
|00000170| 73 74 6f 72 79 2a 22 20 | 62 65 67 69 6e 6e 69 6e |story*" |beginnin|
|00000180| 67 2d 6f 66 2d 6c 69 6e | 65 20 72 65 61 64 20 62 |g-of-lin|e read b|
|00000190| 6f 75 6e 64 70 20 65 6c | 65 63 74 72 69 63 2d 68 |oundp el|ectric-h|
|000001a0| 69 73 74 6f 72 79 2d 69 | 6e 2d 70 72 6f 67 72 65 |istory-i|n-progre|
|000001b0| 73 73 20 74 68 72 6f 77 | 20 65 6c 65 63 74 72 69 |ss throw| electri|
|000001c0| 63 2d 68 69 73 74 6f 72 | 79 2d 71 75 69 74 5d 20 |c-histor|y-quit] |
|000001d0| 37 29 29 0a 0a 28 64 65 | 66 76 61 72 20 65 6c 65 |7))..(de|fvar ele|
|000001e0| 63 74 72 69 63 2d 68 69 | 73 74 6f 72 79 2d 6d 61 |ctric-hi|story-ma|
|000001f0| 70 20 6e 69 6c 29 0a 0a | 28 69 66 20 65 6c 65 63 |p nil)..|(if elec|
|00000200| 74 72 69 63 2d 68 69 73 | 74 6f 72 79 2d 6d 61 70 |tric-his|tory-map|
|00000210| 20 6e 69 6c 20 28 73 65 | 74 71 20 65 6c 65 63 74 | nil (se|tq elect|
|00000220| 72 69 63 2d 68 69 73 74 | 6f 72 79 2d 6d 61 70 20 |ric-hist|ory-map |
|00000230| 28 6d 61 6b 65 2d 6b 65 | 79 6d 61 70 29 29 20 28 |(make-ke|ymap)) (|
|00000240| 66 69 6c 6c 61 72 72 61 | 79 20 65 6c 65 63 74 72 |fillarra|y electr|
|00000250| 69 63 2d 68 69 73 74 6f | 72 79 2d 6d 61 70 20 28 |ic-histo|ry-map (|
|00000260| 71 75 6f 74 65 20 45 6c | 65 63 74 72 69 63 2d 68 |quote El|ectric-h|
|00000270| 69 73 74 6f 72 79 2d 75 | 6e 64 65 66 69 6e 65 64 |istory-u|ndefined|
|00000280| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 65 |)) (defi|ne-key e|
|00000290| 6c 65 63 74 72 69 63 2d | 68 69 73 74 6f 72 79 2d |lectric-|history-|
|000002a0| 6d 61 70 20 22 1b 22 20 | 28 6d 61 6b 65 2d 6b 65 |map "." |(make-ke|
|000002b0| 79 6d 61 70 29 29 20 28 | 66 69 6c 6c 61 72 72 61 |ymap)) (|fillarra|
|000002c0| 79 20 28 6c 6f 6f 6b 75 | 70 2d 6b 65 79 20 65 6c |y (looku|p-key el|
|000002d0| 65 63 74 72 69 63 2d 68 | 69 73 74 6f 72 79 2d 6d |ectric-h|istory-m|
|000002e0| 61 70 20 22 1b 22 29 20 | 28 71 75 6f 74 65 20 45 |ap ".") |(quote E|
|000002f0| 6c 65 63 74 72 69 63 2d | 68 69 73 74 6f 72 79 2d |lectric-|history-|
|00000300| 75 6e 64 65 66 69 6e 65 | 64 29 29 20 28 64 65 66 |undefine|d)) (def|
|00000310| 69 6e 65 2d 6b 65 79 20 | 65 6c 65 63 74 72 69 63 |ine-key |electric|
|00000320| 2d 68 69 73 74 6f 72 79 | 2d 6d 61 70 20 22 15 22 |-history|-map "."|
|00000330| 20 28 71 75 6f 74 65 20 | 75 6e 69 76 65 72 73 61 | (quote |universa|
|00000340| 6c 2d 61 72 67 75 6d 65 | 6e 74 29 29 20 28 64 65 |l-argume|nt)) (de|
|00000350| 66 69 6e 65 2d 6b 65 79 | 20 65 6c 65 63 74 72 69 |fine-key| electri|
|00000360| 63 2d 68 69 73 74 6f 72 | 79 2d 6d 61 70 20 22 20 |c-histor|y-map " |
|00000370| 22 20 28 71 75 6f 74 65 | 20 45 6c 65 63 74 72 69 |" (quote| Electri|
|00000380| 63 2d 63 6f 6d 6d 61 6e | 64 2d 68 69 73 74 6f 72 |c-comman|d-histor|
|00000390| 79 2d 72 65 64 6f 2d 65 | 78 70 72 65 73 73 69 6f |y-redo-e|xpressio|
|000003a0| 6e 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |n)) (def|ine-key |
|000003b0| 65 6c 65 63 74 72 69 63 | 2d 68 69 73 74 6f 72 79 |electric|-history|
|000003c0| 2d 6d 61 70 20 22 21 22 | 20 28 71 75 6f 74 65 20 |-map "!"| (quote |
|000003d0| 45 6c 65 63 74 72 69 63 | 2d 63 6f 6d 6d 61 6e 64 |Electric|-command|
|000003e0| 2d 68 69 73 74 6f 72 79 | 2d 72 65 64 6f 2d 65 78 |-history|-redo-ex|
|000003f0| 70 72 65 73 73 69 6f 6e | 29 29 20 28 64 65 66 69 |pression|)) (defi|
|00000400| 6e 65 2d 6b 65 79 20 65 | 6c 65 63 74 72 69 63 2d |ne-key e|lectric-|
|00000410| 68 69 73 74 6f 72 79 2d | 6d 61 70 20 22 1b 18 22 |history-|map ".."|
|00000420| 20 28 71 75 6f 74 65 20 | 65 76 61 6c 2d 73 65 78 | (quote |eval-sex|
|00000430| 70 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |p)) (def|ine-key |
|00000440| 65 6c 65 63 74 72 69 63 | 2d 68 69 73 74 6f 72 79 |electric|-history|
|00000450| 2d 6d 61 70 20 22 1b 04 | 22 20 28 71 75 6f 74 65 |-map "..|" (quote|
|00000460| 20 64 6f 77 6e 2d 6c 69 | 73 74 29 29 20 28 64 65 | down-li|st)) (de|
|00000470| 66 69 6e 65 2d 6b 65 79 | 20 65 6c 65 63 74 72 69 |fine-key| electri|
|00000480| 63 2d 68 69 73 74 6f 72 | 79 2d 6d 61 70 20 22 1b |c-histor|y-map ".|
|00000490| 15 22 20 28 71 75 6f 74 | 65 20 62 61 63 6b 77 61 |." (quot|e backwa|
|000004a0| 72 64 2d 75 70 2d 6c 69 | 73 74 29 29 20 28 64 65 |rd-up-li|st)) (de|
|000004b0| 66 69 6e 65 2d 6b 65 79 | 20 65 6c 65 63 74 72 69 |fine-key| electri|
|000004c0| 63 2d 68 69 73 74 6f 72 | 79 2d 6d 61 70 20 22 1b |c-histor|y-map ".|
|000004d0| 02 22 20 28 71 75 6f 74 | 65 20 62 61 63 6b 77 61 |." (quot|e backwa|
|000004e0| 72 64 2d 73 65 78 70 29 | 29 20 28 64 65 66 69 6e |rd-sexp)|) (defin|
|000004f0| 65 2d 6b 65 79 20 65 6c | 65 63 74 72 69 63 2d 68 |e-key el|ectric-h|
|00000500| 69 73 74 6f 72 79 2d 6d | 61 70 20 22 1b 06 22 20 |istory-m|ap ".." |
|00000510| 28 71 75 6f 74 65 20 66 | 6f 72 77 61 72 64 2d 73 |(quote f|orward-s|
|00000520| 65 78 70 29 29 20 28 64 | 65 66 69 6e 65 2d 6b 65 |exp)) (d|efine-ke|
|00000530| 79 20 65 6c 65 63 74 72 | 69 63 2d 68 69 73 74 6f |y electr|ic-histo|
|00000540| 72 79 2d 6d 61 70 20 22 | 1b 01 22 20 28 71 75 6f |ry-map "|.." (quo|
|00000550| 74 65 20 62 65 67 69 6e | 6e 69 6e 67 2d 6f 66 2d |te begin|ning-of-|
|00000560| 64 65 66 75 6e 29 29 20 | 28 64 65 66 69 6e 65 2d |defun)) |(define-|
|00000570| 6b 65 79 20 65 6c 65 63 | 74 72 69 63 2d 68 69 73 |key elec|tric-his|
|00000580| 74 6f 72 79 2d 6d 61 70 | 20 22 1b 05 22 20 28 71 |tory-map| ".." (q|
|00000590| 75 6f 74 65 20 65 6e 64 | 2d 6f 66 2d 64 65 66 75 |uote end|-of-defu|
|000005a0| 6e 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |n)) (def|ine-key |
|000005b0| 65 6c 65 63 74 72 69 63 | 2d 68 69 73 74 6f 72 79 |electric|-history|
|000005c0| 2d 6d 61 70 20 22 1b 0e | 22 20 28 71 75 6f 74 65 |-map "..|" (quote|
|000005d0| 20 66 6f 72 77 61 72 64 | 2d 6c 69 73 74 29 29 20 | forward|-list)) |
|000005e0| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 65 6c 65 63 |(define-|key elec|
|000005f0| 74 72 69 63 2d 68 69 73 | 74 6f 72 79 2d 6d 61 70 |tric-his|tory-map|
|00000600| 20 22 1b 10 22 20 28 71 | 75 6f 74 65 20 62 61 63 | ".." (q|uote bac|
|00000610| 6b 77 61 72 64 2d 6c 69 | 73 74 29 29 20 28 64 65 |kward-li|st)) (de|
|00000620| 66 69 6e 65 2d 6b 65 79 | 20 65 6c 65 63 74 72 69 |fine-key| electri|
|00000630| 63 2d 68 69 73 74 6f 72 | 79 2d 6d 61 70 20 22 71 |c-histor|y-map "q|
|00000640| 22 20 28 71 75 6f 74 65 | 20 45 6c 65 63 74 72 69 |" (quote| Electri|
|00000650| 63 2d 68 69 73 74 6f 72 | 79 2d 71 75 69 74 29 29 |c-histor|y-quit))|
|00000660| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 65 6c 65 | (define|-key ele|
|00000670| 63 74 72 69 63 2d 68 69 | 73 74 6f 72 79 2d 6d 61 |ctric-hi|story-ma|
|00000680| 70 20 22 03 22 20 6e 69 | 6c 29 20 28 64 65 66 69 |p "." ni|l) (defi|
|00000690| 6e 65 2d 6b 65 79 20 65 | 6c 65 63 74 72 69 63 2d |ne-key e|lectric-|
|000006a0| 68 69 73 74 6f 72 79 2d | 6d 61 70 20 22 03 03 22 |history-|map ".."|
|000006b0| 20 28 71 75 6f 74 65 20 | 45 6c 65 63 74 72 69 63 | (quote |Electric|
|000006c0| 2d 68 69 73 74 6f 72 79 | 2d 71 75 69 74 29 29 20 |-history|-quit)) |
|000006d0| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 65 6c 65 63 |(define-|key elec|
|000006e0| 74 72 69 63 2d 68 69 73 | 74 6f 72 79 2d 6d 61 70 |tric-his|tory-map|
|000006f0| 20 22 1d 22 20 28 71 75 | 6f 74 65 20 45 6c 65 63 | "." (qu|ote Elec|
|00000700| 74 72 69 63 2d 68 69 73 | 74 6f 72 79 2d 71 75 69 |tric-his|tory-qui|
|00000710| 74 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |t)) (def|ine-key |
|00000720| 65 6c 65 63 74 72 69 63 | 2d 68 69 73 74 6f 72 79 |electric|-history|
|00000730| 2d 6d 61 70 20 22 1a 22 | 20 28 71 75 6f 74 65 20 |-map "."| (quote |
|00000740| 73 75 73 70 65 6e 64 2d | 65 6d 61 63 73 29 29 20 |suspend-|emacs)) |
|00000750| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 65 6c 65 63 |(define-|key elec|
|00000760| 74 72 69 63 2d 68 69 73 | 74 6f 72 79 2d 6d 61 70 |tric-his|tory-map|
|00000770| 20 22 08 22 20 28 71 75 | 6f 74 65 20 48 65 6c 70 | "." (qu|ote Help|
|00000780| 65 72 2d 68 65 6c 70 29 | 29 20 28 64 65 66 69 6e |er-help)|) (defin|
|00000790| 65 2d 6b 65 79 20 65 6c | 65 63 74 72 69 63 2d 68 |e-key el|ectric-h|
|000007a0| 69 73 74 6f 72 79 2d 6d | 61 70 20 22 3f 22 20 28 |istory-m|ap "?" (|
|000007b0| 71 75 6f 74 65 20 48 65 | 6c 70 65 72 2d 64 65 73 |quote He|lper-des|
|000007c0| 63 72 69 62 65 2d 62 69 | 6e 64 69 6e 67 73 29 29 |cribe-bi|ndings))|
|000007d0| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 65 6c 65 | (define|-key ele|
|000007e0| 63 74 72 69 63 2d 68 69 | 73 74 6f 72 79 2d 6d 61 |ctric-hi|story-ma|
|000007f0| 70 20 22 1b 3e 22 20 28 | 71 75 6f 74 65 20 65 6e |p ".>" (|quote en|
|00000800| 64 2d 6f 66 2d 62 75 66 | 66 65 72 29 29 20 28 64 |d-of-buf|fer)) (d|
|00000810| 65 66 69 6e 65 2d 6b 65 | 79 20 65 6c 65 63 74 72 |efine-ke|y electr|
|00000820| 69 63 2d 68 69 73 74 6f | 72 79 2d 6d 61 70 20 22 |ic-histo|ry-map "|
|00000830| 1b 3c 22 20 28 71 75 6f | 74 65 20 62 65 67 69 6e |.<" (quo|te begin|
|00000840| 6e 69 6e 67 2d 6f 66 2d | 62 75 66 66 65 72 29 29 |ning-of-|buffer))|
|00000850| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 65 6c 65 | (define|-key ele|
|00000860| 63 74 72 69 63 2d 68 69 | 73 74 6f 72 79 2d 6d 61 |ctric-hi|story-ma|
|00000870| 70 20 22 0a 22 20 28 71 | 75 6f 74 65 20 6e 65 78 |p "." (q|uote nex|
|00000880| 74 2d 6c 69 6e 65 29 29 | 20 28 64 65 66 69 6e 65 |t-line))| (define|
|00000890| 2d 6b 65 79 20 65 6c 65 | 63 74 72 69 63 2d 68 69 |-key ele|ctric-hi|
|000008a0| 73 74 6f 72 79 2d 6d 61 | 70 20 22 0d 22 20 28 71 |story-ma|p "." (q|
|000008b0| 75 6f 74 65 20 6e 65 78 | 74 2d 6c 69 6e 65 29 29 |uote nex|t-line))|
|000008c0| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 65 6c 65 | (define|-key ele|
|000008d0| 63 74 72 69 63 2d 68 69 | 73 74 6f 72 79 2d 6d 61 |ctric-hi|story-ma|
|000008e0| 70 20 22 7f 22 20 28 71 | 75 6f 74 65 20 70 72 65 |p "." (q|uote pre|
|000008f0| 76 69 6f 75 73 2d 6c 69 | 6e 65 29 29 20 28 64 65 |vious-li|ne)) (de|
|00000900| 66 69 6e 65 2d 6b 65 79 | 20 65 6c 65 63 74 72 69 |fine-key| electri|
|00000910| 63 2d 68 69 73 74 6f 72 | 79 2d 6d 61 70 20 22 0e |c-histor|y-map ".|
|00000920| 22 20 28 71 75 6f 74 65 | 20 6e 65 78 74 2d 6c 69 |" (quote| next-li|
|00000930| 6e 65 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |ne)) (de|fine-key|
|00000940| 20 65 6c 65 63 74 72 69 | 63 2d 68 69 73 74 6f 72 | electri|c-histor|
|00000950| 79 2d 6d 61 70 20 22 10 | 22 20 28 71 75 6f 74 65 |y-map ".|" (quote|
|00000960| 20 70 72 65 76 69 6f 75 | 73 2d 6c 69 6e 65 29 29 | previou|s-line))|
|00000970| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 65 6c 65 | (define|-key ele|
|00000980| 63 74 72 69 63 2d 68 69 | 73 74 6f 72 79 2d 6d 61 |ctric-hi|story-ma|
|00000990| 70 20 22 1b 76 22 20 28 | 71 75 6f 74 65 20 73 63 |p ".v" (|quote sc|
|000009a0| 72 6f 6c 6c 2d 64 6f 77 | 6e 29 29 20 28 64 65 66 |roll-dow|n)) (def|
|000009b0| 69 6e 65 2d 6b 65 79 20 | 65 6c 65 63 74 72 69 63 |ine-key |electric|
|000009c0| 2d 68 69 73 74 6f 72 79 | 2d 6d 61 70 20 22 16 22 |-history|-map "."|
|000009d0| 20 28 71 75 6f 74 65 20 | 73 63 72 6f 6c 6c 2d 75 | (quote |scroll-u|
|000009e0| 70 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |p)) (def|ine-key |
|000009f0| 65 6c 65 63 74 72 69 63 | 2d 68 69 73 74 6f 72 79 |electric|-history|
|00000a00| 2d 6d 61 70 20 22 0c 22 | 20 28 71 75 6f 74 65 20 |-map "."| (quote |
|00000a10| 72 65 63 65 6e 74 65 72 | 29 29 20 28 64 65 66 69 |recenter|)) (defi|
|00000a20| 6e 65 2d 6b 65 79 20 65 | 6c 65 63 74 72 69 63 2d |ne-key e|lectric-|
|00000a30| 68 69 73 74 6f 72 79 2d | 6d 61 70 20 22 1b 16 22 |history-|map ".."|
|00000a40| 20 28 71 75 6f 74 65 20 | 73 63 72 6f 6c 6c 2d 6f | (quote |scroll-o|
|00000a50| 74 68 65 72 2d 77 69 6e | 64 6f 77 29 29 29 0a 0a |ther-win|dow)))..|
|00000a60| 28 64 65 66 76 61 72 20 | 65 6c 65 63 74 72 69 63 |(defvar |electric|
|00000a70| 2d 63 6f 6d 6d 61 6e 64 | 2d 68 69 73 74 6f 72 79 |-command|-history|
|00000a80| 2d 68 6f 6f 6b 20 6e 69 | 6c 20 22 5c 0a 49 66 20 |-hook ni|l "\.If |
|00000a90| 6e 6f 6e 2d 6e 69 6c 2c | 20 69 74 73 20 76 61 6c |non-nil,| its val|
|00000aa0| 75 65 20 69 73 20 63 61 | 6c 6c 65 64 20 62 79 20 |ue is ca|lled by |
|00000ab0| 20 65 6c 65 63 74 72 69 | 63 2d 63 6f 6d 6d 61 6e | electri|c-comman|
|00000ac0| 64 2d 68 69 73 74 6f 72 | 79 2e 22 29 0a 0a 28 64 |d-histor|y.")..(d|
|00000ad0| 65 66 75 6e 20 65 6c 65 | 63 74 72 69 63 2d 63 6f |efun ele|ctric-co|
|00000ae0| 6d 6d 61 6e 64 2d 68 69 | 73 74 6f 72 79 20 6e 69 |mmand-hi|story ni|
|00000af0| 6c 20 22 5c 0a 4d 61 6a | 6f 72 20 6d 6f 64 65 20 |l "\.Maj|or mode |
|00000b00| 66 6f 72 20 65 78 61 6d | 69 6e 69 6e 67 20 61 6e |for exam|ining an|
|00000b10| 64 20 72 65 64 6f 69 6e | 67 20 63 6f 6d 6d 61 6e |d redoin|g comman|
|00000b20| 64 73 20 66 72 6f 6d 20 | 20 63 6f 6d 6d 61 6e 64 |ds from | command|
|00000b30| 2d 68 69 73 74 6f 72 79 | 2e 0a 54 68 65 20 6e 75 |-history|..The nu|
|00000b40| 6d 62 65 72 20 6f 66 20 | 63 6f 6d 6d 61 6e 64 20 |mber of |command |
|00000b50| 6c 69 73 74 65 64 20 69 | 73 20 63 6f 6e 74 72 6f |listed i|s contro|
|00000b60| 6c 6c 65 64 20 62 79 20 | 20 6c 69 73 74 2d 63 6f |lled by | list-co|
|00000b70| 6d 6d 61 6e 64 2d 68 69 | 73 74 6f 72 79 2d 6d 61 |mmand-hi|story-ma|
|00000b80| 78 2e 0a 54 68 65 20 63 | 6f 6d 6d 61 6e 64 20 68 |x..The c|ommand h|
|00000b90| 69 73 74 6f 72 79 20 69 | 73 20 66 69 6c 74 65 72 |istory i|s filter|
|00000ba0| 65 64 20 62 79 20 20 6c | 69 73 74 2d 63 6f 6d 6d |ed by l|ist-comm|
|00000bb0| 61 6e 64 2d 68 69 73 74 | 6f 72 79 2d 66 69 6c 74 |and-hist|ory-filt|
|00000bc0| 65 72 20 20 69 66 20 6e | 6f 6e 2d 6e 69 6c 2e 0a |er if n|on-nil..|
|00000bd0| 43 6f 6d 62 69 6e 65 73 | 20 74 79 70 65 6f 75 74 |Combines| typeout|
|00000be0| 20 43 6f 6d 6d 61 6e 64 | 20 48 69 73 74 6f 72 79 | Command| History|
|00000bf0| 20 6c 69 73 74 20 77 69 | 6e 64 6f 77 20 77 69 74 | list wi|ndow wit|
|00000c00| 68 20 6d 65 6e 75 20 6c | 69 6b 65 20 73 65 6c 65 |h menu l|ike sele|
|00000c10| 63 74 69 6f 6e 0a 6f 66 | 20 61 6e 20 65 78 70 72 |ction.of| an expr|
|00000c20| 65 73 73 69 6f 6e 20 66 | 72 6f 6d 20 74 68 65 20 |ession f|rom the |
|00000c30| 68 69 73 74 6f 72 79 20 | 66 6f 72 20 72 65 2d 65 |history |for re-e|
|00000c40| 76 61 6c 75 61 74 69 6f | 6e 20 69 6e 20 74 68 65 |valuatio|n in the|
|00000c50| 20 2a 6f 72 69 67 69 6e | 61 6c 2a 20 62 75 66 66 | *origin|al* buff|
|00000c60| 65 72 2e 0a 0a 54 68 65 | 20 68 69 73 74 6f 72 79 |er...The| history|
|00000c70| 20 64 69 73 70 6c 61 79 | 65 64 20 69 73 20 66 69 | display|ed is fi|
|00000c80| 6c 74 65 72 65 64 20 62 | 79 20 20 6c 69 73 74 2d |ltered b|y list-|
|00000c90| 63 6f 6d 6d 61 6e 64 2d | 68 69 73 74 6f 72 79 2d |command-|history-|
|00000ca0| 66 69 6c 74 65 72 20 20 | 69 66 20 6e 6f 6e 2d 6e |filter |if non-n|
|00000cb0| 69 6c 2e 0a 0a 54 68 69 | 73 20 70 6f 70 73 20 75 |il...Thi|s pops u|
|00000cc0| 70 20 61 20 77 69 6e 64 | 6f 77 20 77 69 74 68 20 |p a wind|ow with |
|00000cd0| 74 68 65 20 43 6f 6d 6d | 61 6e 64 20 48 69 73 74 |the Comm|and Hist|
|00000ce0| 6f 72 79 20 6c 69 73 74 | 69 6e 67 2e 20 20 49 66 |ory list|ing. If|
|00000cf0| 20 74 68 65 20 76 65 72 | 79 0a 6e 65 78 74 20 63 | the ver|y.next c|
|00000d00| 68 61 72 61 63 74 65 72 | 20 74 79 70 65 64 20 69 |haracter| typed i|
|00000d10| 73 20 53 70 61 63 65 2c | 20 74 68 65 20 6c 69 73 |s Space,| the lis|
|00000d20| 74 69 6e 67 20 69 73 20 | 6b 69 6c 6c 65 64 20 61 |ting is |killed a|
|00000d30| 6e 64 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 0a |nd the p|revious.|
|00000d40| 77 69 6e 64 6f 77 20 63 | 6f 6e 66 69 67 75 72 61 |window c|onfigura|
|00000d50| 74 69 6f 6e 20 69 73 20 | 72 65 73 74 6f 72 65 64 |tion is |restored|
|00000d60| 2e 20 20 4f 74 68 65 72 | 77 69 73 65 2c 20 79 6f |. Other|wise, yo|
|00000d70| 75 20 63 61 6e 20 62 72 | 6f 77 73 65 20 69 6e 20 |u can br|owse in |
|00000d80| 74 68 65 0a 43 6f 6d 6d | 61 6e 64 20 48 69 73 74 |the.Comm|and Hist|
|00000d90| 6f 72 79 20 77 69 74 68 | 20 20 52 65 74 75 72 6e |ory with| Return|
|00000da0| 20 20 6d 6f 76 69 6e 67 | 20 64 6f 77 6e 20 61 6e | moving| down an|
|00000db0| 64 20 20 44 65 6c 65 74 | 65 20 20 6d 6f 76 69 6e |d Delet|e movin|
|00000dc0| 67 20 75 70 2c 20 70 6f | 73 73 69 62 6c 79 0a 73 |g up, po|ssibly.s|
|00000dd0| 65 6c 65 63 74 69 6e 67 | 20 61 6e 20 65 78 70 72 |electing| an expr|
|00000de0| 65 73 73 69 6f 6e 20 74 | 6f 20 62 65 20 72 65 64 |ession t|o be red|
|00000df0| 6f 6e 65 20 77 69 74 68 | 20 53 70 61 63 65 20 6f |one with| Space o|
|00000e00| 72 20 71 75 69 74 74 69 | 6e 67 20 77 69 74 68 20 |r quitti|ng with |
|00000e10| 60 51 27 2e 0a 0a 4c 69 | 6b 65 20 45 6d 61 63 73 |`Q'...Li|ke Emacs|
|00000e20| 2d 4c 69 73 70 20 4d 6f | 64 65 20 65 78 63 65 70 |-Lisp Mo|de excep|
|00000e30| 74 20 74 68 61 74 20 63 | 68 61 72 61 63 74 65 72 |t that c|haracter|
|00000e40| 73 20 64 6f 20 6e 6f 74 | 20 69 6e 73 65 72 74 20 |s do not| insert |
|00000e50| 74 68 65 6d 73 65 6c 76 | 65 73 20 61 6e 64 0a 54 |themselv|es and.T|
|00000e60| 61 62 20 61 6e 64 20 6c | 69 6e 65 66 65 65 64 20 |ab and l|inefeed |
|00000e70| 64 6f 20 6e 6f 74 20 69 | 6e 64 65 6e 74 2e 20 20 |do not i|ndent. |
|00000e80| 49 6e 73 74 65 61 64 20 | 74 68 65 73 65 20 63 6f |Instead |these co|
|00000e90| 6d 6d 61 6e 64 73 20 61 | 72 65 20 70 72 6f 76 69 |mmands a|re provi|
|00000ea0| 64 65 64 3a 0a 53 70 61 | 63 65 20 6f 72 20 21 09 |ded:.Spa|ce or !.|
|00000eb0| 65 64 69 74 20 74 68 65 | 6e 20 65 76 61 6c 75 61 |edit the|n evalua|
|00000ec0| 74 65 20 63 75 72 72 65 | 6e 74 20 6c 69 6e 65 20 |te curre|nt line |
|00000ed0| 69 6e 20 68 69 73 74 6f | 72 79 20 69 6e 73 69 64 |in histo|ry insid|
|00000ee0| 65 0a 09 09 20 20 20 74 | 68 65 20 4f 52 49 47 49 |e... t|he ORIGI|
|00000ef0| 4e 41 4c 20 62 75 66 66 | 65 72 20 77 68 69 63 68 |NAL buff|er which|
|00000f00| 20 69 6e 76 6f 6b 65 64 | 20 74 68 69 73 20 6d 6f | invoked| this mo|
|00000f10| 64 65 2e 0a 09 09 20 20 | 20 54 68 65 20 70 72 65 |de.... | The pre|
|00000f20| 76 69 6f 75 73 20 77 69 | 6e 64 6f 77 20 63 6f 6e |vious wi|ndow con|
|00000f30| 66 69 67 75 72 61 74 69 | 6f 6e 20 69 73 20 72 65 |figurati|on is re|
|00000f40| 73 74 6f 72 65 64 0a 09 | 09 20 20 20 75 6e 6c 65 |stored..|. unle|
|00000f50| 73 73 20 74 68 65 20 69 | 6e 76 6f 6b 65 64 20 63 |ss the i|nvoked c|
|00000f60| 6f 6d 6d 61 6e 64 20 63 | 68 61 6e 67 65 73 20 69 |ommand c|hanges i|
|00000f70| 74 2e 0a 43 2d 63 20 43 | 2d 63 2c 20 43 2d 5d 2c |t..C-c C|-c, C-],|
|00000f80| 20 51 09 51 75 69 74 20 | 61 6e 64 20 72 65 73 74 | Q.Quit |and rest|
|00000f90| 6f 72 65 20 70 72 65 76 | 69 6f 75 73 20 77 69 6e |ore prev|ious win|
|00000fa0| 64 6f 77 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |dow conf|iguratio|
|00000fb0| 6e 2e 0a 4c 46 44 2c 20 | 52 45 54 09 4d 6f 76 65 |n..LFD, |RET.Move|
|00000fc0| 20 74 6f 20 74 68 65 20 | 6e 65 78 74 20 6c 69 6e | to the |next lin|
|00000fd0| 65 20 69 6e 20 74 68 65 | 20 68 69 73 74 6f 72 79 |e in the| history|
|00000fe0| 2e 0a 44 45 4c 09 09 4d | 6f 76 65 20 74 6f 20 74 |..DEL..M|ove to t|
|00000ff0| 68 65 20 70 72 65 76 69 | 6f 75 73 20 6c 69 6e 65 |he previ|ous line|
|00001000| 20 69 6e 20 74 68 65 20 | 68 69 73 74 6f 72 79 2e | in the |history.|
|00001010| 0a 3f 09 09 50 72 6f 76 | 69 64 65 73 20 61 20 63 |.?..Prov|ides a c|
|00001020| 6f 6d 70 6c 65 74 65 20 | 6c 69 73 74 20 6f 66 20 |omplete |list of |
|00001030| 63 6f 6d 6d 61 6e 64 73 | 2e 0a 0a 43 61 6c 6c 73 |commands|...Calls|
|00001040| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 20 65 | the val|ue of e|
|00001050| 6c 65 63 74 72 69 63 2d | 63 6f 6d 6d 61 6e 64 2d |lectric-|command-|
|00001060| 68 69 73 74 6f 72 79 2d | 68 6f 6f 6b 20 20 69 66 |history-|hook if|
|00001070| 20 74 68 61 74 20 69 73 | 20 6e 6f 6e 2d 6e 69 6c | that is| non-nil|
|00001080| 0a 54 68 65 20 43 6f 6d | 6d 61 6e 64 20 48 69 73 |.The Com|mand His|
|00001090| 74 6f 72 79 20 6c 69 73 | 74 69 6e 67 20 69 73 20 |tory lis|ting is |
|000010a0| 72 65 63 6f 6d 70 75 74 | 65 64 20 65 61 63 68 20 |recomput|ed each |
|000010b0| 74 69 6d 65 20 74 68 69 | 73 20 6d 6f 64 65 20 69 |time thi|s mode i|
|000010c0| 73 20 69 6e 76 6f 6b 65 | 64 2e 22 20 28 69 6e 74 |s invoke|d." (int|
|000010d0| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|000010e0| 63 6f 64 65 20 22 c4 88 | c1 70 c4 1b 1a 18 c5 8e |code "..|.p......|
|000010f0| c6 c7 8d 89 13 29 88 0b | 3a 85 31 00 0a 71 88 0b |.....)..|:.1..q..|
|00001100| 40 83 2b 00 c8 0b 41 40 | 40 0b 41 40 41 5c 22 82 |@.+...A@|@.A@A\".|
|00001110| 31 00 c9 ca 0b 41 40 5c | 22 2b 87 22 20 5b 65 6c |1....A@\|"+." [el|
|00001120| 65 63 74 72 69 63 2d 68 | 69 73 74 6f 72 79 2d 69 |ectric-h|istory-i|
|00001130| 6e 2d 70 72 6f 67 72 65 | 73 73 20 74 20 6f 6c 64 |n-progre|ss t old|
|00001140| 2d 62 75 66 66 65 72 20 | 74 6f 64 6f 20 6e 69 6c |-buffer |todo nil|
|00001150| 20 28 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 71 | ((byte-|code ".q|
|00001160| 88 c1 20 88 c2 70 21 87 | 22 20 5b 22 2a 43 6f 6d |.. ..p!.|" ["*Com|
|00001170| 6d 61 6e 64 20 48 69 73 | 74 6f 72 79 2a 22 20 43 |mand His|tory*" C|
|00001180| 6f 6d 6d 61 6e 64 2d 68 | 69 73 74 6f 72 79 2d 73 |ommand-h|istory-s|
|00001190| 65 74 75 70 20 62 75 72 | 79 2d 62 75 66 66 65 72 |etup bur|y-buffer|
|000011a0| 5d 20 33 29 29 20 65 6c | 65 63 74 72 69 63 2d 68 |] 3)) el|ectric-h|
|000011b0| 69 73 74 6f 72 79 2d 71 | 75 69 74 20 28 62 79 74 |istory-q|uit (byt|
|000011c0| 65 2d 63 6f 64 65 20 22 | c4 8b 87 22 20 5b 65 6c |e-code "|..." [el|
|000011d0| 65 63 74 72 69 63 2d 68 | 69 73 74 6f 72 79 2d 6d |ectric-h|istory-m|
|000011e0| 61 70 20 6e 69 6c 20 48 | 65 6c 70 65 72 2d 72 65 |ap nil H|elper-re|
|000011f0| 74 75 72 6e 2d 62 6c 75 | 72 62 20 74 20 28 28 62 |turn-blu|rb t ((b|
|00001200| 79 74 65 2d 63 6f 64 65 | 20 22 c4 8b 88 c5 c6 21 |yte-code| ".....!|
|00001210| 88 c7 c8 21 88 6d 83 1d | 00 c9 20 88 ca cb 21 88 |...!.m..|.. ...!.|
|00001220| cc cd c1 5c 22 82 25 00 | ce 1a cf cd d0 c3 23 29 |...\".%.|......#)|
|00001230| 87 22 20 5b 65 6c 65 63 | 74 72 69 63 2d 68 69 73 |." [elec|tric-his|
|00001240| 74 6f 72 79 2d 6d 61 70 | 20 6e 69 6c 20 48 65 6c |tory-map| nil Hel|
|00001250| 70 65 72 2d 72 65 74 75 | 72 6e 2d 62 6c 75 72 62 |per-retu|rn-blurb|
|00001260| 20 74 20 28 28 62 79 74 | 65 2d 63 6f 64 65 20 22 | t ((byt|e-code "|
|00001270| c1 20 88 c2 71 88 c3 c4 | c5 08 23 87 22 20 5b 65 |. ..q...|..#." [e|
|00001280| 6c 65 63 74 72 69 63 2d | 68 69 73 74 6f 72 79 2d |lectric-|history-|
|00001290| 6d 61 70 20 6c 69 73 74 | 2d 63 6f 6d 6d 61 6e 64 |map list|-command|
|000012a0| 2d 68 69 73 74 6f 72 79 | 20 22 2a 43 6f 6d 6d 61 |-history| "*Comma|
|000012b0| 6e 64 20 48 69 73 74 6f | 72 79 2a 22 20 43 6f 6d |nd Histo|ry*" Com|
|000012c0| 6d 61 6e 64 2d 68 69 73 | 74 6f 72 79 2d 73 65 74 |mand-his|tory-set|
|000012d0| 75 70 20 65 6c 65 63 74 | 72 69 63 2d 63 6f 6d 6d |up elect|ric-comm|
|000012e0| 61 6e 64 2d 68 69 73 74 | 6f 72 79 20 22 45 6c 65 |and-hist|ory "Ele|
|000012f0| 63 74 72 69 63 20 48 69 | 73 74 6f 72 79 22 5d 20 |ctric Hi|story"] |
|00001300| 35 29 29 20 45 6c 65 63 | 74 72 69 63 2d 70 6f 70 |5)) Elec|tric-pop|
|00001310| 2d 75 70 2d 77 69 6e 64 | 6f 77 20 22 2a 43 6f 6d |-up-wind|ow "*Com|
|00001320| 6d 61 6e 64 20 48 69 73 | 74 6f 72 79 2a 22 20 72 |mand His|tory*" r|
|00001330| 75 6e 2d 68 6f 6f 6b 73 | 20 65 6c 65 63 74 72 69 |un-hooks| electri|
|00001340| 63 2d 63 6f 6d 6d 61 6e | 64 2d 68 69 73 74 6f 72 |c-comman|d-histor|
|00001350| 79 2d 68 6f 6f 6b 20 64 | 69 6e 67 20 6d 65 73 73 |y-hook d|ing mess|
|00001360| 61 67 65 20 22 4e 6f 20 | 63 6f 6d 6d 61 6e 64 20 |age "No |command |
|00001370| 68 69 73 74 6f 72 79 2e | 22 20 74 68 72 6f 77 20 |history.|" throw |
|00001380| 65 6c 65 63 74 72 69 63 | 2d 68 69 73 74 6f 72 79 |electric|-history|
|00001390| 2d 71 75 69 74 20 22 72 | 65 74 75 72 6e 20 74 6f |-quit "r|eturn to|
|000013a0| 20 48 69 73 74 6f 72 79 | 22 20 45 6c 65 63 74 72 | History|" Electr|
|000013b0| 69 63 2d 63 6f 6d 6d 61 | 6e 64 2d 6c 6f 6f 70 20 |ic-comma|nd-loop |
|000013c0| 22 2d 3e 22 5d 20 39 29 | 29 5d 20 31 29 20 61 70 |"->"] 9)|)] 1) ap|
|000013d0| 70 6c 79 20 65 64 69 74 | 2d 61 6e 64 2d 65 76 61 |ply edit|-and-eva|
|000013e0| 6c 2d 63 6f 6d 6d 61 6e | 64 20 22 52 65 64 6f 3a |l-comman|d "Redo:|
|000013f0| 20 22 5d 20 34 29 29 0a | 0a 28 64 65 66 75 6e 20 | "] 4)).|.(defun |
|00001400| 45 6c 65 63 74 72 69 63 | 2d 68 69 73 74 6f 72 79 |Electric|-history|
|00001410| 2d 75 6e 64 65 66 69 6e | 65 64 20 6e 69 6c 20 28 |-undefin|ed nil (|
|00001420| 69 6e 74 65 72 61 63 74 | 69 76 65 29 20 28 62 79 |interact|ive) (by|
|00001430| 74 65 2d 63 6f 64 65 20 | 22 c0 88 c1 20 88 c2 c3 |te-code |"... ...|
|00001440| 21 88 c4 c5 21 87 22 20 | 5b 6e 69 6c 20 64 69 6e |!...!." |[nil din|
|00001450| 67 20 6d 65 73 73 61 67 | 65 20 22 54 79 70 65 20 |g messag|e "Type |
|00001460| 43 2d 68 20 66 6f 72 20 | 68 65 6c 70 2c 20 3f 20 |C-h for |help, ? |
|00001470| 66 6f 72 20 63 6f 6d 6d | 61 6e 64 73 2c 20 43 2d |for comm|ands, C-|
|00001480| 63 20 74 6f 20 71 75 69 | 74 2c 20 53 70 61 63 65 |c to qui|t, Space|
|00001490| 20 74 6f 20 65 78 65 63 | 75 74 65 22 20 73 69 74 | to exec|ute" sit|
|000014a0| 2d 66 6f 72 20 34 5d 20 | 34 29 29 0a 0a 28 64 65 |-for 4] |4))..(de|
|000014b0| 66 75 6e 20 45 6c 65 63 | 74 72 69 63 2d 68 69 73 |fun Elec|tric-his|
|000014c0| 74 6f 72 79 2d 71 75 69 | 74 20 6e 69 6c 20 22 5c |tory-qui|t nil "\|
|000014d0| 0a 51 75 69 74 20 45 6c | 65 63 74 72 69 63 20 43 |.Quit El|ectric C|
|000014e0| 6f 6d 6d 61 6e 64 20 48 | 69 73 74 6f 72 79 2c 20 |ommand H|istory, |
|000014f0| 72 65 73 74 6f 72 69 6e | 67 20 70 72 65 76 69 6f |restorin|g previo|
|00001500| 75 73 20 77 69 6e 64 6f | 77 20 63 6f 6e 66 69 67 |us windo|w config|
|00001510| 75 72 61 74 69 6f 6e 2e | 22 20 28 69 6e 74 65 72 |uration.|" (inter|
|00001520| 61 63 74 69 76 65 29 20 | 28 62 79 74 65 2d 63 6f |active) |(byte-co|
|00001530| 64 65 20 22 c0 88 c1 c2 | 21 85 10 00 c3 c4 21 88 |de "....|!.....!.|
|00001540| c5 c6 c0 5c 22 87 22 20 | 5b 6e 69 6c 20 62 6f 75 |...\"." |[nil bou|
|00001550| 6e 64 70 20 65 6c 65 63 | 74 72 69 63 2d 68 69 73 |ndp elec|tric-his|
|00001560| 74 6f 72 79 2d 69 6e 2d | 70 72 6f 67 72 65 73 73 |tory-in-|progress|
|00001570| 20 6d 65 73 73 61 67 65 | 20 22 22 20 74 68 72 6f | message| "" thro|
|00001580| 77 20 65 6c 65 63 74 72 | 69 63 2d 68 69 73 74 6f |w electr|ic-histo|
|00001590| 72 79 2d 71 75 69 74 5d | 20 35 29 29 0a |ry-quit]| 5)). |
+--------+-------------------------+-------------------------+--------+--------+